package com.weipai.demo.mapper;

import com.weipai.demo.model.LoansManager;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface DLoansManagerMapper {

    void updateByStatus(Integer status, Integer id);

    List<LoansManager> select(LoansManager loansManager);

    List selectByStatus(Integer status);

    Map<String,Object> searchByPhone(String phone);

    int updateByPrimaryKey(LoansManager loansManager);

    LoansManager selectById(Integer id);

    String selectByPhone(String status, String managerPhone);

    String selectByLicant(String status, String managerPhone);

    String selectOnlyStatus(String status);

    String selectByApp(String status);
}